package com.example.administrator.jokeyboarddemo.keyboard;

import android.content.Context;
import android.util.Log;
import android.view.View;
import android.widget.LinearLayout;

import com.example.administrator.jokeyboarddemo.R;

/**
 * Created by gongshuobo on 2016/11/18.
 */

public class KeyBoardEnglishView extends LinearLayout {
    public KeyBoardEnglishView(Context context) {
        super(context);
    }

    /**
     * 语文三种键盘类型绑定事件
     */

    View.OnClickListener keyboardEnglishNavigationOnClick = new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            switch (v.getId()){
                case R.id.tv_chinese_letter:
                    Log.e("aaa","点击了语文abc键盘");
                    break;
                case R.id.tv_chinese_sign:
                    Log.e("aaa","点击了语文符号键盘");
                    break;
                case R.id.tv_chinese_tone:
                    break;
            }

        }
    };
}
